<ion-view view-title="拜访查看">
  <ion-content class="crm-content">

    <ul class="list">
      <li class="item">
        拜访方式
        <span class="item-note">
          {{visit.visitWay}}
        </span>
      </li>
      <li class="item">
        拜访类型
        <span class="item-note">
          {{visit.visitTypeName}}
        </span>
      </li>
      <li class="item">
        联系人
        <span class="item-note">
          {{visit.hotelContacts}}
        </span>
      </li>
      <li class="item">
        拜访日期
        <span class="item-note">
          {{visit.visitTime | limitTo:10}}
        </span>
      </li>
    </ul>
    <!--供应链业务-->
    <ul class="list" ng-if="visit.visitType==11">
      <li class="item">
        样品发放
        <span class="item-note">
          {{visit.sampleGrant}}
        </span>
      </li>
      <li class="item">
        采购意向
        <span class="item-note">
          {{visit.purchaseIntention}}
        </span>
      </li>
      <li class="item">
        采购商品情况说明
        <p>
          {{visit.reason}}
        </p>
      </li>
    </ul>
    <!--分销业务-->
    <ul class="list" ng-if="visit.visitType==3">
      <li class="item">
        是否签约
        <span class="item-note">
          {{visit.isSign ? '是' : '否'}}
        </span>
      </li>
    </ul>
    <ul class="list">
      <li class="item">
        拜访情况
        <p>
          {{visit.visitDesc}}
        </p>
      </li>
    </ul>
  </ion-content>
</ion-view>
<style>
  .item p {
    white-space: pre-line;
    color: #aaa;
    font-size: 14px;
  }
</style>
